home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
knowhow4
/
blkmenu.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-10
|
909b
|
33 lines
/* BLKMENU.H Block Menu - Menu with buttons. After exiting returns number
of item in global_num. See manual for details.
*/
#ifndef __BLOCK_MENU_H_
#define __BLOCK_MENU_H_
#include "blk.h"
#include "textmenu.h"
class BlockMenu : public Block
{
public:
TextMenu* menu;
BlockMenu(rect coordinates, char* fName = "", char* h = "",
int s = 0,
char* HOT = NULL,
char** ITEMSTRINGS = NULL,
rect STATUSPOS = rect(0, 24, 79, 25),
int STATUSTYPE = 0, char** STATUSSTRINGS = NULL,
int* STATUSLIST = NULL,
int res = FIXED, BORDERS b_type = SHOW_BORDER,
BORDERS hdr_b_type = SHOW_BORDER,
int pat = 0, int hdr_pat = 0, int elem_pat = 0,
int menu_pat = 0);
virtual void hide();
void set_pos(int p) { menu->set_pos(p); }
virtual void rearrange();
};
#endif __BLOCK_MENU_H_